package publisher;

/**
 * @author Jiajie Wu 
 * To publish SOAP service to localhost, port used is set to 9990
 * default service api: http://localhost:9990/services
 */
import provider.*;
import javax.xml.ws.Endpoint;

public class Publisher {
	public static void main(String args[]) {
		WSProvider provider = new WSProviderImpl();
		String url = "http://localhost:9990/services";
		
		Endpoint.publish(url, provider);
		System.out.println("Service starts successfully on " + url );
	}
	
}
